<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/bootstrap.css">
    <style>
        * {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        body {
            width: 1000px;
            margin: 0 auto;
        }

        .table-bordered {
            width: 800px;
            margin: 0 auto;
        }

        .form-inline {
            padding-top: 100px;
            margin: 0 auto;
            width: 610px;
            margin-bottom: 100px;
        }
    </style>
</head>

<body>
    <form class="form-inline">
        <div class="form-group">
            <label for="exampleInputName2">姓名</label>
            <input type="text" class="form-control" id="exampleInputName2" placeholder="姓名">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail2">电话</label>
            <input type="电话" class="form-control" id="exampleInputEmail2" placeholder="151-">
        </div>
        <button type="submit" class="btn btn-default">确定</button>
    </form>
    <table class="table table-bordered">
        <tr>
            <td>姓名</td>
            <td>电话</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
    </table>
</body>
<script>
    var queding = document.querySelector(".btn-default");
    console.log(queding)
    queding.onclick = function (ev) {
        var ev = document.event || ev;
        var obj = function () {
            q
        }
    }
</script>

</html>